package n09.second;

public class N01 implements MyInterface {

	public static void main(String[] args) {
		N01 n01 = new N01();
		n01.hi();
		//MyInterface.hi();
		System.out.println(n01.sum(4, 5));
		
		//而静态方法属于接口本身，必须通过接口名直接调用，而不能通过实现接口的类对象来调用
		System.out.println(MyInterface.mul(5, 8));
		//System.out.println(N01.mul(5, 8));
		//n01.mul();

	}
//	@Override
//	public int sum(int a, int b) {
//		return MyInterface.super.sum(a, b)+10000;
//	}
	@Override
	public void hi() {
		System.out.println("Hello~");
	}
}
